<?php

declare(strict_types=1);

namespace app\example\controller;

use app\admin\BaseAdminController;
use think\facade\View;

class Forms extends BaseAdminController
{
    public function index()
    {
        View::assign('title', '概述/表单');
        return View::fetch();
    }

    public function control()
    {
        View::assign('title', '表单控件/表单');
        return View::fetch();
    }

    public function select()
    {
        View::assign('title', '下拉选择/表单');
        return View::fetch();
    }

    public function radio()
    {
        View::assign('title', '单选框/表单');
        return View::fetch();
    }

    public function checkbox()
    {
        View::assign('title', '复选框/表单');
        return View::fetch();
    }

    public function switch1()
    {
        View::assign('title', '开关/表单');
        return View::fetch();
    }

    public function range1()
    {
        View::assign('title', '范围/表单');
        return View::fetch();
    }

    public function group()
    {
        View::assign('title', '输入组/表单');
        return View::fetch();
    }

    public function labels()
    {
        View::assign('title', '浮动标签/表单');
        return View::fetch();
    }

    public function layout()
    {
        View::assign('title', '布局/表单');
        return View::fetch();
    }

    public function validation()
    {
        View::assign('title', '验证/表单');
        return View::fetch();
    }
}
